package hasattrib;

import hasattrib.HasAttribMatch;
import hasattrib.HasAttribMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate HasAttribMatcher in a type-safe way.
 * 
 * @see HasAttribMatcher
 * @see HasAttribMatch
 * 
 */
public class HasAttribMatcherFactory extends BaseGeneratedMatcherFactory<HasAttribMatch,HasAttribMatcher> {
  @Override
  protected HasAttribMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new HasAttribMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "hasAttrib";
    
  }
}
